#ifndef LOGAPPENDERREGISTRATOR_H_JM_20130121
#define LOGAPPENDERREGISTRATOR_H_JM_20130121

#include <string>

#include "LoggerRegister.h"
#include "LogAppender.h"

namespace jmlib {

	struct LogAppenderRegistrator {
		LogAppenderRegistrator(const std::string& appenderName, LogAppender* appenderInstance) {
			LoggerRegister::getInstance()->addAppender(appenderName, appenderInstance);
		}
	};


} // namespace jmlib


#endif
